package com.lma.crm.department.domain;

import java.util.HashSet;
import java.util.Set;

import com.lma.crm.post.domain.CrmPost;

/**
 * 部门
	CREATE TABLE `crm_department` (
		`depId` varchar(255) NOT NULL PRIMARY KEY,
		`depName` varchar(50) DEFAULT NULL
	);
 * @author lma
 *
 */
public class CrmDepartment {

	private String depId;
	private String depName;	//部门名称
	
	//一对多关系：一个部门可以有多个职务
	private Set<CrmPost> postSet = new HashSet<CrmPost>();

	public String getDepId() {
		return depId;
	}

	public void setDepId(String depId) {
		this.depId = depId;
	}

	public String getDepName() {
		return depName;
	}

	public void setDepName(String depName) {
		this.depName = depName;
	}

	public Set<CrmPost> getPostSet() {
		return postSet;
	}

	public void setPostSet(Set<CrmPost> postSet) {
		this.postSet = postSet;
	}

}
